package hcn.protocol.ods;

import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by zhengz on 2015/12/26.
 */
@XmlRootElement(name = "queue")
public class DeptQueueBean implements Serializable{
    private static final long serialVersionUID = 3144472889521095965L;
    private String orgId;
    private String regDeptId;
    private String regDeptName;
    private String localDoctorId;
    private String doctorName;
    private Date workDate;
    private String planTime;
    private int queueNo;
    private String currentNo;
    private int regSourceCount;
    private int regCount;
    private int remainderCount;
    private String stopFlag;

    @XmlElement
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @XmlElement
    public String getRegDeptId() {
        return regDeptId;
    }

    public void setRegDeptId(String regDeptId) {
        this.regDeptId = regDeptId;
    }

    @XmlElement
    public String getRegDeptName() {
        return regDeptName;
    }

    public void setRegDeptName(String regDeptName) {
        this.regDeptName = regDeptName;
    }

    @XmlElement
    public String getLocalDoctorId() {
        return localDoctorId;
    }

    public void setLocalDoctorId(String localDoctorId) {
        this.localDoctorId = localDoctorId;
    }

    @XmlElement
    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getWorkDate() {
        return workDate;
    }

    public void setWorkDate(Date workDate) {
        this.workDate = workDate;
    }

    @XmlElement
    public String getPlanTime() {
        return planTime;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    @XmlElement
    public int getQueueNo() {
        return queueNo;
    }

    public void setQueueNo(int queueNo) {
        this.queueNo = queueNo;
    }

    @XmlElement
    public String getCurrentNo() {
        return currentNo;
    }

    public void setCurrentNo(String currentNo) {
        this.currentNo = currentNo;
    }

    @XmlElement
    public int getRegSourceCount() {
        return regSourceCount;
    }

    public void setRegSourceCount(int regSourceCount) {
        this.regSourceCount = regSourceCount;
    }

    @XmlElement
    public int getRegCount() {
        return regCount;
    }

    public void setRegCount(int regCount) {
        this.regCount = regCount;
    }

    @XmlElement
    public int getRemainderCount() {
        return remainderCount;
    }

    public void setRemainderCount(int remainderCount) {
        this.remainderCount = remainderCount;
    }

    @XmlElement
    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }
}
